package com.cn.androidpicker.bean;

import com.contrarywind.interfaces.IPickerViewData;

/**
 * @ProjectName: CitySelect
 * @Package: com.cn.cityselect.baen
 * @Description: java类作用描述
 * @CreateDate: 2021/6/22 0022 16:04
 */
public class TownData implements IPickerViewData {
    private String code;
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String getPickerViewText() {
        return name;
    }
}